package com.yt.lxh.model.acl;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yt.lxh.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "角色用户关系表")
@TableName("role_menu")
public class RoleMenu extends BaseEntity {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "角色id")
    @TableField("role_id")
    private Integer role_id;
    @ApiModelProperty(value = "菜单id")
    @TableField("menu_id")
    private Integer menu_id;
    @TableField("is_half")
    private Integer isHalf;
}
